package com.gs.wzmanager.controller;

import com.gs.wzmanager.service.ForeCastConstructService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Legolas
 * Date: 2017/11/15 0015
 */
@Controller
@RequestMapping("contrast")
public class ForecastContrastController {
@Autowired
    ForeCastConstructService foreCastConstructService;

    @RequestMapping("/getContrastData")
    @ResponseBody
    public List getContrastData() throws Exception{
        return foreCastConstructService.getContrustData();
    }

}
